package com.server.rule.component.triple.operator;

import com.shared.rule.TypeOperator;

public class NumericOperatorGreater extends NumericOperator{

	@Override
	public boolean compare(double element1, double element2) {
		return element1>element2;
	}

	//@Override
	public boolean equals(Operator o) {
		return (o instanceof NumericOperatorGreater);
	}
	
	@Override
	public String toString() {
		return TypeOperator.NUMERIC_GREATER.toString();
	}
	
	public String getHumanReadable() {
		return ">";
	}
}
